<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>恒铸智能柜管理平台</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/layui/css/layui.css"
	media="all" />
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/layui/layui.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/cacheUserInfo.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/adminList.js"></script>

</head>

<body class="childrenBody">
	<div style="margin: 10px 0px">
		<blockquote class="layui-elem-quote">
			说明：新建管理员默认密码为:hengzhu123</blockquote>
	</div>
	<div class="layui-form-mid layui-word-aux" style="margin-left: 100px;">
		<g style="color: red!important;padding:5px;">*</g>
		为必填选项
	</div>
	<form class="layui-form">
		<div class="layui-form-item" closed="true">
			<input type="hidden" class="layui-input managerId" name="managerId">
			<label class="layui-form-label">登录账号</label>
			<div class="layui-input-inline">
				<input type="text" class="layui-input loginName" name="loginName"
					lay-verify="loginName" placeholder="登录账号">
			</div>
			<div class="layui-form-mid layui-word-aux">*英文，数字或_,6位以上</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">真实姓名</label>
			<div class="layui-input-inline">
				<input type="text" class="layui-input realName" name="realName"
					placeholder="真实姓名">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">手机号码</label>
			<div class="layui-input-inline">
				<input type="text" class="layui-input mobilePhone"
					name="mobilePhone" placeholder="请输入手机号码">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">邮箱</label>
			<div class="layui-input-inline">
				<input type="text" class="layui-input email" name="email"
					placeholder="请输入邮箱" class="layui-input adminEmail">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">重置密码</label>
			<div class="layui-input-block">
				<input type="radio" name="flag" value="1" title="是"> <input
					type="radio" name="flag" value="0" title="否" checked>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">选择角色</label>
			<c:forEach items="${list }" var="list">
				<c:if test="${list.flag==1}">
					<input type="radio" name="roleId" lay-filter="role_ids"
						title="${list.name }" checked="checked" value="${list.roleId }">
				</c:if>
				<c:if test="${list.flag==0 }">

					<input type="radio" name="roleId" lay-filter="role_ids"
						title="${list.name }" value="${list.roleId }">
				</c:if>
			</c:forEach>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<a class="layui-btn" lay-submit lay-filter="changeInfo"
					type="sumbit">立即提交</a>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
		</div>
	</form>
</body>

</html>